import { API_CONFIG } from "../../config"
const baseURL = API_CONFIG.productionUrl

export default [
	{
		name: "articleClick",
		baseURL,
		path: "api/office-service-ms/articleClick",
		method: "post",
		desc: "校务头条点击量",
	},
	{
		name: "articleProgress",
		baseURL,
		path: "api/office-service-ms/articleProgress",
		method: "post",
		desc: "进度统计",
	},
	{
		name: "themePageAddHits",
		baseURL,
		path: "api/themePage/addHits",
		method: "post",
		desc: "添加点击量",
	},
	{
		name: "themePageGet",
		baseURL,
		path: "api/themePage/get",
		method: "post",
		desc: "获取主题页配置",
	},
	{
		name: "addHitsBySchoolCode",
		baseURL,
		path: "api/addHitsBySchoolCode",
		method: "post",
		desc: "弹窗点击量+1",
	},
	{
		name: "getAdvertisementBySchoolCode",
		baseURL,
		path: "api/getAdvertisementBySchoolCode",
		method: "post",
		desc: "获取弹窗配置信息",
	},
	{
		name: "changePwdPhone",
		baseURL,
		path: "api/face-service-ms/changePwd/phone",
		method: "post",
		desc: "验证码修改密码",
	},
	{
		name: "getAuthCode",
		baseURL,
		path: "api/face-service-ms/changePwd/getAuthCode",
		method: "post",
		desc: "获取手机验证码",
	},
	{
		name: "faceAndIdentifyChangePwd",
		baseURL,
		path: "api/face-service-ms/Face/faceAndIdentifyChangePwd",
		method: "post",
		desc: "认证核验修改密码",
	},
	{
		name: "changePwdEnable",
		baseURL,
		path: "api/face-service-ms/changePwd/enable",
		method: "post",
		desc: "是否跳转页面",
	},
	{
		name: "getMenu",
		baseURL,
		path: "api/getMenu",
		method: "post",
		desc: "获取菜单",
	},
	/**
	 * @see 获取公告
	 */
	{
		name: "getNotice",
		baseURL,
		path: "api/office-service-ms/getNotice",
		method: "post",
		desc: "获取公告",
	},
	// 获取推送模板id列表
	{
		name: "getTemplateIds",
		baseURL,
		path: "api/manage-service-ms/NoticeMessage/getTemplateIds",
		method: "post",
		desc: "获取推送模板id列表",
	},
	{
		name: "sign",
		baseURL,
		path: "api/activity-service-ms/attendance",
		method: "post",
		desc: "预约讲座签到",
	},
	{
		name: "addRecord",
		baseURL,
		path: "api/mask-service-ms/menuClick/addRecord",
		method: "post",
		desc: "增加菜单点击记录",
	},
	{
		name: "getTeacherCourse",
		baseURL,
		path: "api/interaction-service-ms/Course/getTeacherCourse",
		method: "post",
		desc: "互动课堂老师获取课程",
	},
	{
		name: "getStudentCourse",
		baseURL,
		path: "api/interaction-service-ms/Course/getStudentCourse",
		method: "post",
		desc: "互动课堂学生获取课程",
	},
	{
		name: "isClicksHeadlineRecord",
		baseURL,
		path: "api/office-service-ms/isClicksHeadlineRecord",
		method: "post",
		desc: "获取校务头条和公益讲坛未读消息",
	},
	{
		name: "refreshCourse",
		baseURL,
		path: "api/interaction-service-ms/Course/refreshCourse",
		method: "post",
		desc: "刷新列表",
	},
]
